
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <MobileCoreServices/MobileCoreServices.h>

NS_ASSUME_NONNULL_BEGIN

extern BOOL YY_UIAPP_CONTROLLER_PORTRAIT;
@interface YY_ImagePicker : NSObject<UINavigationControllerDelegate, UIImagePickerControllerDelegate>

+ (YY_ImagePicker *)getInstence;
-(void)pickFromCamera:(NSInteger)pickSize scaleSize:(NSInteger)scaleSize completion:(void (^)(NSString *, NSString *))completion;
-(void)pickFromPhoto:(NSInteger)tempPicWidth :(NSInteger)tempPicHeight completion:(void (^)(NSString *, NSString *))completion;

@end

NS_ASSUME_NONNULL_END
